<h1>{{loginID}}</h1>

<p class="" style="font-weight:bolder;color:red;" *ngIf="isShow">{{warnMsg}}</p>
<table>
  <tbody>
    <tr>
      <td style="padding: 10px;">City</td>
      <td style="padding: 10px;">
        <select name="city" title="City" [(ngModel)]="cityCode">
          <option value="0">Select City</option>
          <option *ngFor="let item of cityInfoList" [value]="item.cityCode">{{item.cityName}}</option>
        </select>
      </td>
    </tr>
    <tr>
      <td style="padding: 10px;">Salary</td>
      <td style="padding: 10px;">
        <input name="salary" title="Salary" [(ngModel)]="salary" placeholder="Salary" /> RMB
      </td>
    </tr>
    <tr>
      <td style="padding: 10px;">TaxSalary</td>
      <td style="padding: 10px;">
        <label style="margin-bottom:0;" name="taxSalary" title="TaxSalary">{{taxSalary}} RMB</label>
      </td>
    </tr>
  </tbody>
</table>
<button class="btn btn-primary" (click)="calculate()">Calculate</button>
<p></p>
<button class="btn btn-primary" (click)="logout()">Logout</button>
